NOTE
1.13 Elasticsearch flush
Elasticsearch flush persists segments from the file-system cache to disk and clears the translog. These notes record triggers and related operations.
This is a historical learning note and may contain outdated or incomplete understanding.
1. What Is flush?
- An Elasticsearch operation that persists segment files from the filesystem cache to disk and clears the translog at the same time.
2. Why Is flush Needed?
- Commit and clear translog transactions, ensuring that segment files are persisted to disk.
3. When flush Is Triggered
3.1. Manual
POST /my-index-000001/_flush
3.2. Automatic
- Every 30 minutes or when the translog file becomes too large.
4. References
Drag to pan, scroll to zoom, and click a node to expand or collapse it. Large maps start with deeper levels collapsed; click nodes to expand them.
Discussion
Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub